/**
 * Created by mao on 2017/12/27.
 */
export const TemplateAPI = {
  //元模板后端
  //分页
  metaTemplatesPageListV2: "api/metaTemplate/v2/bspagelist?format=json",
  //元模板添加方法
  insertMetaTemplate: "api/metaTemplate?format=json",
  //元模板删除接口
  deleteMetaTemplate: "api/metaTemplate/delete?format=json",
  //批量删除
  delMetaTemplates: "api/metaTemplate/deleteMetaTemplates?format=json",
  //元模板无参查询
  getMetaTemplate: "api/metaTemplate?format=json",
  //根据id查询
  getMetaTemplateById: "api/metaTemplate/getById?format=json",
  //元模板修改接口
  updateMetaTemplate: "api/metaTemplate/edit?format=json",

  //模板后端接口
  //模板分页版本v2
  templatePageListV2: "api/templates/v2/bspagelist?format=json",
  //模板添加接口
  templateAdd: "api/templates?format=json",
  //模板批量删除接口
  templateDeletes: "api/templates/template/delete?format=json",
  //根据id查询
  getTemplateById: "api/templates",
  //模板修改接口
  templateEdit: "api/templates",

  //数据源后端
  //分页
  dataSourcesPageListV2: "api/dataSource/v2/bspagelist?format=json",
  //数据源添加方法
  insertDataSource: "api/dataSource?format=json",
  //数据源删除接口
  deleteDataSource: "api/dataSource/delete?format=json",
  //批量删除
  delDataSources: "api/dataSource/deleteDataSources?format=json",
  //数据源无参查询
  getDataSource: "api/dataSource?format=json",
  //根据id查询
  getDataSourceById: "api/dataSource/getById?format=json",
  //数据源修改接口
  updateDataSource: "api/dataSource/edit?format=json",

}
